const ReadStream = require('../input/oracleReader.js');
(async function () {
    let reader = await ReadStream({
        user: 'hu_user',
        password: 'hisuser',
        connectString: `192.192.192.199:1521/HISDB`,
        sql: 'select table_name from user_tables'
    });

    reader.on("data", data => {
        console.log("====", data);
    });

    reader.on("end", function() {
        console.log("done");
    });
})()
